package com.corpgovernment.common.base;

import lombok.extern.slf4j.Slf4j;

/**
 * @Author: majl
 * @DateTime: 2019-5-20
 * @FileName: AbstractBaseService
 * @Description
 */
@Slf4j
public abstract class AbstractBaseService extends BaseService {
    protected void log(String methodName,Object... args){
        if(args == null ||args.length == 0){
            return;
        }
        StringBuilder sb = new StringBuilder();
        for(Object arg : args){
            sb.append(methodName).append("=").append(arg).append(" ");
        }
        log.info(sb.toString());
    }
}
